package com.it.dao;

import com.github.pagehelper.Page;
import com.it.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealDao {

    public Page<Setmeal> selectByCondition(String queryString);

    public Integer add(Setmeal setmeal);
    public void setSetmealAndCheckGroup(Map<String,Integer> map);
    public void deleteById(Integer id);

    public void deleteSetmealAndCheckGroup(Integer id);

    public Setmeal findById(Integer id);

    public List<Integer> findGroupIdsBySetmealId(Integer id);

    public List<Map<String,Object>> findSetmealCount();
}
